import { httpForm } from '@/service/network.js'
//获取日志列表
export const getrizhilist = (data)=>{
    return httpForm(
        '/platform/admin/adminlog',
        data
    )
}
//日志详情
export const getrizhiinfo = (data)=>{
    console.log(data);
    return httpForm(
        '/platform/admin/adminloginfo',
        data
    )
}

//删除日志
export const detrizhi = (data)=>{
    console.log(data);
    // return httpForm(
    //     '/platform/admin/adminloginfo',
    //     data
    // )
}

//获取管理员列表
export const adminzh = (data)=> {
       return httpForm(
        '/platform/admin/indexs',
        data
    )
     
}

//获取所有机构列表
export const alljigoulist =(data)=>{
    console.log(data);
    return httpForm(
        '/platform/admin/getAllAccountList',
        data
    )
}
//获取角色列表
export const jueselist =(data)=>{
    console.log(data);
    return httpForm(
        '/platform/admin/roleindex',
        data
    )
    
}